<template>
	<view class="content">
		<u-sticky>
			<view class="search">
				<view class="formInput">
					<u-input placeholder="请输入"></u-input>
				</view>
				<u-image src="/static/img/home/scan.png" width="24" height="24"></u-image>
			</view>
		</u-sticky>
		<view class="products">
			<view class="item">
				<view class="title">
					<view class="name">
						<text class="pro">工业级甘油</text>
						<text class="no">备品编号：JN2002300053</text>
					</view>
					<u-image src="/static/img/home/edit.png" width="12" height="12"></u-image>
				</view>
				<view class="info">
					<view class="gird">
						<view class="cate">
							<text>规格分类：B90</text>
							<text>库存数量：1</text>
						</view>
						<view class="warehouse">
							<text>所在仓库：B90</text>
							<text>所在库位：B90</text>
						</view>
					</view>
					<view class="thumb">
						<u-image src="/static/img/logo.png" height="88" width="88"></u-image>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="less">
	page {
		background-color: rgb(248, 248, 248);
		font-size: 24rpx;
	}

	.content {
		display: flex;
		flex-direction: column;
	}

	.search {
		display: flex;
		flex-direction: row;
		background-color: #fff;
		align-items: center;
		box-sizing: border-box;
		padding: 0 32rpx 8rpx 32rpx;
	}

	.formInput {
		display: flex;
		flex: 2;
		margin-right: 16rpx;
	}

	.products {
		display: flex;
		flex-direction: column;
		padding: 0 32rpx 0 32rpx;
		margin-bottom: 130rpx;
	}

	.item {
		display: flex;
		flex-direction: column;
		background-color: #fff;
		border-radius: 10rpx;
		padding: 32rpx;
		margin-top: 32rpx;
	}

	.title {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		height: 88rpx;
		border-bottom: 2rpx solid rgb(204, 204, 204);
	}
	.name{
		display: flex;
		flex-direction: column;
	}
	.pro{
		border-left: rgb(39, 115, 239) 10rpx solid;
		display: flex;
		align-items: center;
		padding-left: 8rpx;
		margin-bottom: 16rpx;
	}
	.no{
		padding-left: 18rpx;
	}
	.info {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin-top: 32rpx;
		box-sizing: border-box;
	}
	.gird{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		flex: 2;
		height: 148rpx;
		
	}
	.cate{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.warehouse{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
	}
	.thumb {
		margin-left: 16rpx;
		display: flex;
		flex: 1;
	}
</style>